package exceptionDemo;

public class Demo6 {
	public static void main(String[] args) {
		try{
			String string = "123";
			System.err.println(string.length());
			int a =10;
			int b =a/0;
		}catch(NullPointerException e){
			System.out.println("gogo");
		}catch(ArithmeticException e){
			System.out.println("0000");
		}
	}
}
